\section{richard.\-c File Reference}
\label{richard_8c}\index{richard.\-c@{richard.\-c}}


Définit les fonctions relatives à Richard.  


{\ttfamily \#include $<$allegro.\-h$>$}\\*
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
{\ttfamily \#include $<$stdio.\-h$>$}\\*
{\ttfamily \#include \char`\"{}fonction.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}menucine.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}init.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}richard.\-h\char`\"{}}\\*
Include dependency graph for richard.\-c\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{richard_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf main\-\_\-fight} ({\bf personage} $\ast$p, {\bf personage} pirate[$\,$], int nbre)
\item 
int {\bf main\-\_\-move} (int $\ast$x, char $\ast$d, int w)
\item 
void {\bfseries get\-\_\-main\-\_\-path} ({\bf personage} p, char str[$\,$])\label{richard_8c_a860b2a3298b1730c8ad20ef00fd470ae}

\item 
void {\bfseries reset\-\_\-main} ({\bf personage} $\ast$p, int test)\label{richard_8c_a7b0d0c5bc72cabd9fb47ebd9b0cfa2da}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Définit les fonctions relatives à Richard. \begin{DoxyAuthor}{Author}
H4\-Y3 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
1.\-0 
\end{DoxyVersion}
\begin{DoxyDate}{Date}
22 Mai 2013 
\end{DoxyDate}


\subsection{Function Documentation}
\index{richard.\-c@{richard.\-c}!main\-\_\-fight@{main\-\_\-fight}}
\index{main\-\_\-fight@{main\-\_\-fight}!richard.c@{richard.\-c}}
\subsubsection[{main\-\_\-fight}]{\setlength{\rightskip}{0pt plus 5cm}void main\-\_\-fight (
\begin{DoxyParamCaption}
\item[{{\bf personage} $\ast$}]{p, }
\item[{{\bf personage}}]{pirate[$\,$], }
\item[{int}]{nbre}
\end{DoxyParamCaption}
)}\label{richard_8c_ae863cf9f0bdae7117bf8eb0d81bd52cc}
Les actions relatives au fight 
\begin{DoxyParams}{Parameters}
{\em p} & Un pointeur sur la structure personnage \\
\hline
{\em nbre} & Liste de pirates \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
void 
\end{DoxyReturn}


Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=238pt]{richard_8c_ae863cf9f0bdae7117bf8eb0d81bd52cc_cgraph}
\end{center}
\end{figure}


\index{richard.\-c@{richard.\-c}!main\-\_\-move@{main\-\_\-move}}
\index{main\-\_\-move@{main\-\_\-move}!richard.c@{richard.\-c}}
\subsubsection[{main\-\_\-move}]{\setlength{\rightskip}{0pt plus 5cm}int main\-\_\-move (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{x, }
\item[{char $\ast$}]{d, }
\item[{int}]{w}
\end{DoxyParamCaption}
)}\label{richard_8c_a6b548bb1a7244d813b34bdad9fb5fc27}
Les actions relatives au deplacement 
\begin{DoxyParams}{Parameters}
{\em x} & Cordonnée X du personnage Principal \\
\hline
{\em d} & Etat de deplacement du personnage Principal \\
\hline
{\em w} & Width \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
La coordonné \& l'etat de deplacement 
\end{DoxyReturn}
